package com.cj.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author cj
 * @date 2023/3/19 13:48
 * @description
 */


@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients //调用端
@EnableCaching
@ComponentScan(basePackages = {"com.cj"})
public class EduSpringBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduSpringBootApplication.class, args);
    }
}
